package com.zenchn.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;

/**
 * 当前用户信息修改提交对象
 *
 * @author dingxinfa
 * @date 2019-09-18
 **/
@ApiModel(value="当前用户信息修改提交对象",description="当前用户信息修改提交对象")
public class CurrentAccountDO {

    @NotEmpty(message = "姓名不能为空")
    @ApiModelProperty(value="姓名")
    private String realName;

    @NotEmpty(message = "手机号码不能为空")
    @ApiModelProperty(value="手机号码")
    private String tel;

    @ApiModelProperty(value="验证码")
    private String captcha;

    @ApiModelProperty(value="电子邮件")
    private String email;


    @ApiModelProperty(value="个人头像文件集合名")
    private String portraitFileSet;


    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPortraitFileSet() {
        return portraitFileSet;
    }

    public void setPortraitFileSet(String portraitFileSet) {
        this.portraitFileSet = portraitFileSet;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    @Override
    public String toString() {
        return "CurrentAccountDO{" +
                "realName='" + realName + '\'' +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                ", captcha='" + captcha + '\'' +
                ", portraitFileSet='" + portraitFileSet + '\'' +
                '}';
    }

}
